package com.itheima02.day02;

/**
 * @author 刘全
 * @date 2021/7/16
 */
public class InterTest {
    public static void main(String[] args) {
        InterImpl ii = new InterImpl();
        ii.study();
        ii.run();
    }
}
class InterImpl implements Inter{
    @Override
    public void study() {
        System.out.println("学习");
    }

    @Override
    public void run() {
        System.out.println("跑步");
    }
}
